<template>
  <div id="app">
    <router-view></router-view>
  </div>
</template>

<script>
export default {
  name: "app",
  data() {
    return {
      img: "@/assets/image/favicon.ico",
    };
  },
  created() {
    // this.getwebinfo();
  },
  mounted() {},
  methods: {
    /**
     * 获取站点配置
     */
    getwebinfo() {
      let link = document.querySelector("link[rel*='icon']");
      link.href = this.img;
    },
  },
};
</script>
<style>
</style>

